﻿using SmugMugApiWrapper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Drawing;

namespace SmugMugAPIWrapperTestProject
{
    
    
    /// <summary>
    ///This is a test class for SmugMugImageTest and is intended
    ///to contain all SmugMugImageTest Unit Tests
    ///</summary>
    [TestClass()]
    public class SmugMugImageTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for ImageInfo
        ///</summary>
        [TestMethod()]
        public void ImageInfoTest()
        {
            SmugMugImageInfo info = null; // TODO: Initialize to an appropriate value
            SmugMugImage target = new SmugMugImage(info); // TODO: Initialize to an appropriate value
            SmugMugImageInfo actual;
            actual = target.ImageInfo;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Image
        ///</summary>
        [TestMethod()]
        public void ImageTest()
        {
            SmugMugImageInfo info = null; // TODO: Initialize to an appropriate value
            SmugMugImage target = new SmugMugImage(info); // TODO: Initialize to an appropriate value
            Image actual;
            actual = target.Image;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for LoadImage
        ///</summary>
        [TestMethod()]
        [DeploymentItem("SmugMugApiWrapper.dll")]
        public void LoadImageTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            SmugMugImage_Accessor target = new SmugMugImage_Accessor(param0); // TODO: Initialize to an appropriate value
            target.LoadImage();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for Dispose
        ///</summary>
        [TestMethod()]
        public void DisposeTest()
        {
            SmugMugImageInfo info = null; // TODO: Initialize to an appropriate value
            SmugMugImage target = new SmugMugImage(info); // TODO: Initialize to an appropriate value
            target.Dispose();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for SmugMugImage Constructor
        ///</summary>
        [TestMethod()]
        public void SmugMugImageConstructorTest2()
        {
            SmugMugImageInfo info = null; // TODO: Initialize to an appropriate value
            bool lazyImageLoading = false; // TODO: Initialize to an appropriate value
            SmugMugImage target = new SmugMugImage(info, lazyImageLoading);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for SmugMugImage Constructor
        ///</summary>
        [TestMethod()]
        public void SmugMugImageConstructorTest1()
        {
            SmugMugImageInfo info = null; // TODO: Initialize to an appropriate value
            SmugMugImage target = new SmugMugImage(info);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for SmugMugImage Constructor
        ///</summary>
        [TestMethod()]
        public void SmugMugImageConstructorTest()
        {
            int smugMugImageID = 0; // TODO: Initialize to an appropriate value
            SmugMugImage target = new SmugMugImage(smugMugImageID);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
